package com.wx.service;

import com.wx.domain.dto.NurseDto;
import com.wx.entity.SysNurse;

import java.util.List;

/**
 * <p>Title:      SysPatientService. </p>
 * <p>Description  </p>
 * <p>Copyright: Copyright (c) 2016</p>
 * <p>Company:    医百科技有限公司 </p>
 *
 * @author         yangwensheng@100doc.com.cn
 * @since      2021-03-03 11:36:07
 */
public interface SysNurseService extends BaseService<SysNurse> {


    List<SysNurse> listPage(SysNurse sysPatient);


    int saveNurse(SysNurse sysNurse);

    int updateAgreement(String id, String openid, String nickName) throws Exception;

    SysNurse selectByOpenId(String openId);

    int nurseAuthentication(NurseDto nurseDto);

    SysNurse checkValidateCode(String openId, String mobile, String validateCode);

    String generateSmsCode(String mobile);

    int updateStatus(String id, Integer status, String userId, String realName);

    SysNurse selectById(String contactsId);

    int updateStatus(SysNurse sysNurse);

    List<SysNurse> selectByIds(List<String> nurseIds);
}
